package cn.wqk.demo.service;

import cn.wqk.demo.pojo.User;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 吴青珂
 * @Date: 2020/12/25/11:27
 * @Description:
 */
@Service
public interface LoginService {

    /**
     *  检查登录是否成功
     * @param username  用户名
     * @param password  用户密码
     * @return  查询成功的用户的完整信息
     */
    User checkLogin(String username,String password) throws RuntimeException;

}
